<?php 
/*
 module:		商品分类控制器
 create_time:	2022-08-09 17:31:05
 author:		
 contact:		
*/

namespace App\Model\admin;
use Hyperf\DbConnection\Model\Model;

class GoodscataModel extends Model {


	protected $connection = 'default';

 	protected $primaryKey = 'class_id';

	protected $table = 'goods_cata';

	public $timestamps = false;

	protected $guarded = [];

	function supplier(){
		return $this->hasOne(\App\Model\admin\SupplierModel::class,'supplier_id','supplier_id');
	}





}



